package com.tarena.lbs.business.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.vo.BusinessStoreVO;
import com.tarena.lbs.business.pojo.vo.BusinessVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BusinessRepository {

    PageInfo<BusinessVO> selectList(BusinessQuery query);


    void insert(BusinessPO businessPO);

    BusinessStoreVO detail(Integer businessId);
}
